Making network class generic, sticking it on NPC and Players