Complete redesign of command line interface to simplify it (closes #74).