add Resizer class with tests
add object serializer class