implemented qos in db
Merge conflict in tests/driver