app: use boost::program_options
app: adjust for additional "energy gate" features