Cross-validation; command line arguments

Added cross-validation (accessible and configurable via command line
arguments); improved command line arguments