Moved client implementation to separate file
Moved formatting to service bus interface.
Added hook to allow easier test using chat app.
Added separate batching layer
Hooked batching logic into stack
Turned on use strict