Add unit test architecture.
Implements all web API calls.