move board setup into view