Changed Flag::invalid to Flag::valid
Added flags to the server side routes
Added readme for data model