Initial commit of code split out from eresearchsa/conveyer.