A lot of untested code

NPC creation and minor behavior