adding gitignore, writing some tests for the generator, using export to make node and generator available outside of closure/module in js build