[WIP] Implement badge issuing.

**DON'T MERGE UNTIL #33 IS MERGED**