Started modifying file formats so they're a bit more uniform

Created base classes for saving/loading of file formats