Changed playerData to singleton object