add .options.json
add generator functions for constructors and methods
working tests will move to test/* later
archive the ApiMethod data for comparison with the docs version