starting to decouple game from server-client