AGENTX: reduce library code to bare essentials for now.
AGENTX: stub out intial plugins.