Adds globals to the appDomain; moves Player into the globals

/cc @mbebenita