Link the planner UI to the database models.