Move setup/logging/notification code to its own class, to DRY up a bit
Move setup/logging/notification code to its own class, to DRY up a bit