removed need for clint, tidied argument parsing, added multi-file support, rotten reqs to STDERR

quite a few changes for modularity in this one...I also started a test suite, whose tests all fail!