Implemented serialization and deserialization
Little cleanup of unnecessary autobean classes.
Cleaning up the code