save/load added

added initial save/load functions