Added new projects and refactored main window code