A framework for managing interactive NPC avatars in opensimulator