Adding better error handling, readable class representation for results.
pep8