Added support for Apache commons cli for parsing input arguments.