Agent Killing and Creation functionality added