refactor: expose the config in the service