Updated generator to use IHttpControllerSelector from config