Extract configuration process from main.js to DOMBoardFactory