Extended game management code for client and server

Pre-datastore integration, but just wanted to get the bulk of code committed