new directives; updated Endpoint.js
Merge pull request #7 from CtrlLA/feature/add-pax-changes

new directives; updated Endpoint.js