Added basis of the query translator - from UI to the query string
Part of the translation from query to QTree finished