Added Globals class to all files.
Modified reflection.
Added comments.