refactored so we can add services by updating the config file