Adjusted documentation to callables
Renamed generateAsString() to generate()
Replaced getData() with fetch() and fetchAll() and also documented it