Set up logging in main, other minor changes to bring in run() function, either executed by gavage.run() or via __main__