Create new QueryManager class, wrap task creation in the scheduler.
This commit is a work in progress, most of the unit tests pass but not very useful right now since snmp is broken. The fix will come in the next commit, the two are split to minimize the code churn.