Move some global variables into a struct to improve maintainability
util.OptionalBool
optional.Option[bool]