Updated documentation (jsdoc and removed todo list)
fixes readme and change the recommended way to export functions
Merge pull request #7 from Lutger/updated-readme

Updated readme