Complete rewrite of server code. Now single Threaded! :D
Added a little bit of game logic objects and other functions