Add nullBoard class
Move board class to new file