Creating Server and minor changes.

Modified game for later controll changes.
Server works and waites for connections.