Added serializer and tested it in driver
Functionality to use object creator to create objects to serialize
bug fixes, refactored some functionality into separate methods