generate home controller/model