Refactor board system.