generate home controller