Abstract game control to cleanup game.js. Add socket layer to painting.
Finish socket painting.