added centralized main window class to store all widgets