Started major reorganizing of the server and some bugfixing to ensure excellent communication between client and server.