Fixes #1. Fixes #2.

Adding finished client and server API.
Adding test server, worker & client.