Add serialization
Fix namespaces
Fix method implementations
Allow application tests