First demoable version of endpoint.js
Housekeeping