No fs.stat in API index file, generator more configurable

- Generator throws errors if it encounters one
- Generator more configurable through options object
- API index generates large object of APIs instead of `fs.stat`ing