add model and controllers