Added flagging capacity: Added ajax submit, added flagging model, added controller