Move from trollop to cri

This code reimplements the configuration handling, replacing trollop
with cri.  This now has more managable implementation of command line
sub arguments, and code layout.
Merge pull request #1 from xaque208/cri

Move from trollop to cri