Refactored Dynamic_WindowManager to have a more sane file structure.