added current turn controller
refactored client helper functions into a connection class
added a mock game connection that runs a local game
renamed Window to GameWindow
added board cache to client connection
fixup refresh
made gui client use a game connection, either real or mock