added generation of index.js and package.json files when a new project is created
added code to generate schema and support for new generate cli syntax (per issue #10)