Put classes in own files. Fixed initial state for board.