Refactored badge class

* badge class now uses a method to find if a key exists, rather than begin/rescue in every method.

Signed-off-by: Keil Miller Jr <keilmillerjr@me.com>