Start fleshing out a basic test client.
* trim out the code from the server side; it's not required
* start abstracting out the manager code a little.