-Removed db dependency on badge model contructor