migrated networking code and centralized in NetworkingComponent of GameManager