Implement some more bits on the server.
Various bits of server implemented + tests.
Implement sets