add commonjs support
update package.json
move package.json to cortex.json