move config file handling to Flow, add <clear> cmd to LeveDB gadget