Implementing save feature
Implementing QueryTool