Attempting to fix some connection issues in the global class so that it compiles and runs.