Raising exceptions instead of returning bools/tuples/strings
cleanup of runErrors
Adding metadata to json
Better error message
Removing one todo
Some changes in comments