Added basic support for Corral.
Added entry points command line options. Refactored scripts so that they share source code for common command line options.
Merge branch 'corral-integration' into develop