Added window controll class and task manager