Refactored Pjaxr

new version of pjaxr, refactored Pjaxr to be more generic