refactor:move window functions to its own class
--all windows related functions present at visibility manager are moved at their own class WindowsTracker