Use module in the badges.rb file
fix the conflicts in badges.rb