add model and controller