Added the basic server state machine in place
Merge branch 'master' of https://github.com/coolsebz/mosaic-master