Board: Refactor board rendering into a separate class