generate the home controller