move code to /src - extend package.js