refactored board, added macroid library