Export App class directly

Closes #7

- Minor change to index.js to export directly and updated test
Merge pull request #9 from jgable/removeApp

Export App class directly
Updated license