Add abstract serializer and deserializer

This PR introduces the abstract serializer and deserializer as well as an initial version of a message.
there should be a space before the `?`