Uses the config to create the controllers