set up most of the models and controllers