generate a controller name of pages and action name of home