made connection singleton and added to gamescreen