added manageflag model
flag controller updater
added action for flag form