Refactor index.js to store paths locally and provide addPath and path as exports, deprecated app.p and app.addPath, updated readme