Should probably be generating log statements as we go, especially errors. Gonna use python standard library's 'logging' library