board page refactor

Threw everything that's related to initializing and rendering the board
into a separate class, an instance of which will be contained by pages
using it as a base. Added a match page and an editor page template.
editor logic / ui part one;