Export App class directly

Closes #7

- Minor change to index.js to export directly and updated test