Add a yaml configurator to register services