qos factory is now an instance of generic factory
converted everything (including tests) intro the new strcutrue for the factories