added gameboard drawing, and merged with input manager.