Used jopt-simple library for parsing command-line args.