generate contact model and controller