Added Macro class and created a preliminary layout for main window