Support for project saving

The projects may now be saved as an XML file.