Used optparse for a better command line experience.

Any good?