ADD support for flags (name, description, privacy)

Signed-off-by: José Pinheiro Neta <jose.neta@gmail.com>