move ChessBoard instantiation inside controller