Refactoring of how board grid was contructed.