java lib for flagging/configuring