Fixed Package.load() and added index.js as main file