Add FileWriter and FileReader classes

Also adds the SaveProject method in MainControl, which saves the project
to disk.
Fix opening of projects