Adding access to objects from index.js