adding peg.js
adding query service