creating new model and controller for home