New server logic stuff

TODO: Multiplayer stuff
Added server logic
Merge remote-tracking branch 'origin/Server-Code'