That sounds rather complicated but I'll give you a shot at some code.I want to create npcs, no download it.
Citizen NPC
local Category = "Your NPC Category"
local NPC = { Name = "Your NPC", Class = "npc_citizen",
Model = "models/yourmodelname.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category }