refactoring, tests for board api