Merge pull request #2 from jakedahn/master

Complete rewrite for v5.1, includes single-run flow.
Internal deployment