The Save and Load functions upgraded

I have improved the save and load functions so that they now work. There
are some errors still but we have time to fix them and they are not that
major and have been added to the bugtracking sheet.