Split up client from server.
Fix cabal.