moved board UI into separate module

refactoring in the process