refactored, added board manager