add simple querys string parsing, and dmp now works only if DEBUG is in QS