Use module in the badges.rb file