Add initial version of deserializer
Add deinitialisation function to deserielizer
Add initial version of serializer
Add deinitialisation function to serializer