Started splitting minesweeper logic into modules.