queries and ajaxcalls boundries.

queries added to api, ajaxcalls added to data.js
changed boundries to boundary