Fix some bugs.  Print status when running.
add logging to a file
log exceptions to file as well.  better use of decorators and contextmanagers