query builder functionality working
moved trim fn to app.js (need to check in searchtool ctrlr still)
need to create query builder controller