refactored RunQuery
Merge branch 'master' of https://github.com/milesefron/guitar