archivist refactoring. decouples logging and displaying of messages. no longer uses pastebin