added the badgesPerClass() closure and chnaged to protected all the private methods
added the badgesPerClass() closure and chnaged to protected all the private methods

dedalozzo/reindex,reindexltd/reindex,dedalozzo/pit-press