added window manager class and file