add models and some base controllers