created OptionFinder to outsource some reusable parsing methods.