Added save files, fixed Mycelium (again).

Also fixed some warnings.
Default values are now different for each resource.
Added a new class for testing purposes (not useful otherwise).

To do:
Update ReadMe
Add name of the file to be saved/loaded as an argument. Currently, the
relevant functions can only save and load files called "savefile.txt",
which doesn't leave a lot of room for multiple saves.