refactored loadBoardConfig