Updated flag model and applied schema migration.
Added view and template to display all flags.