added add_serializer/add_deserializer and serialize/deserialize methods
also removed setup_serializer and favored self.serialize/self.deserialize in code
missing docstrings