Scaffold

Still mostly-empty script, but it's got logging and command-line argument parsing.