Proper logging for the module
redid all the error handling. hopefully its more clear now
ignore all that pycharm meta stuff
finding more errormsgs in webpage