Changes done in the badges functionality. Now implemented the quartz job
and all the functions in place