Break code into modules.

  * `Chat.hs` contains generic stuff (that is, almost nothing).
  * `Server.hs` is the server app.
  * `Client.hs` is the client app.

After installation you should be able to run client with `chat-cli`, and
server – with `chat-server`.
Merge pull request #3 from neongreen/master

Break code into modules.