Remove all hard coded df from the panel modules.
Add defType and df settings to query panel.
Optimize code by moving some functions to querySrv.