reorganized parser exports putting related functions near
adding support to query params
see #101