Class of Game Center using Swift