Add fetching of badges. closes #20