Fix controlers to use the new config module