Revised implmentation of base classes and added object serialization/deserialization functionality to form objects.