Initial Server Side code dump

- Just thought I should commit something.

- Need to plug in andys test stuff.