creating OptionInfo class
map fields more functionally