initial simple flag implementation

Signed-off-by: David Mackey <tdmackey@twitter.com>