Add badge methods
Move wiki code to own module