Refactor GamePanel into BoardController