Initial implementation of the chat application.
Merge with Github