moved board-view into its own file