Allow code to be used as common.js module and with component.io
Add metadata for use as a NPM/node module