move almost all command line code into clump module; leave script trivial