Sentences carry a text object now
Logging to file 'logs'
Made it more robust. Saving data even if there is an error.