making Configurator class a bit more abstract