creating model and controller