Move board sanity check from Rest API to main function
This modifies where we check whether a board exists in the address table. I've also cleaned up tests slightly as well as removed unused imports.
This modifies where we check whether a board exists in the address table. I've also cleaned up tests slightly as well as removed unused imports.