Changed the CLI interface to use commander rather than nopt. Much less code to do the same thing and allows quicker development of the cli interface in the future