Added build on save menu item
Moved code around to prepare for a clean MVC approach
Moved all File IO to its own class
Moved layout to its own class