Initial commit
Add query history