Better anonymous functions and improve the module

Functions are now returning the error as first parameter.
Added the new 'getText' function which return words, sentences and
paragraphs in the style specified as first parameter.
Updated README.md

Including new methods and change to the new version