Finishes draft implementation of generators.
Adds package.json