adds initial configuration, not ready for primetime
Fix configuration
Reformat using jsbeautify
Changes for rev1