jar ready for running from command line. some options need refining and usage control