Removed a lot of npc code and hl2 specific code