Updated deserialization process to write model as a Java class file.
Updated android app to use new Java model.