Refactored boardView