Generated a controller