Added a Serializer class and utilities package