Added OptionParser support and pidfile option
Merge pull request #1 from dembar/patch-1

Added OptionParser support and pidfile option