can build where queries
moved query.js to query/index.js