Added save/load methods for Map class
Wrote save/load routines for Model class; implemented resource database