refactor getParts() and reading switch
objectify parsing and remove copied code
remove processing from constructor
objectify export; further refactoring