Added Eq deriving and the DatabaseValue type.
First draft of the serialization module.