Add tests for SerDe
Fix SerDe, add final tests.
Add some documentation!
Add license