HOPKINS: Move some remaning variables and functions from Globals to ObjectsManager