generated badge model
added basic badge model