Included command line option handling.
More comprehensive comments.
Merge branch 'master' of https://github.com/gammaswami/pstate