updated implementation of class flag_option
implemented initialization and parsing stuff in class value_option