added basic framework for window manager