Update package.json for non-broken NPM and add pathing function to App