Fix README
Adds documentation to functions.
Fix indentation in package.json