implement query params generator
fix base value in ParseInt
support all queries in couchbase and tuq interfaces