Move board setup logic to separate class