Serialization

Added deserialization classes and test project