Added db_wrapper, maned_queries and device inventory files.
Updated all q/a framework, probabyl ready for production.