Added some documentation for our Global class

Everything should be documented now I believe.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>