Implemented save and load methods for actor and gui classes