critter action manager in C++ ready (needs performance and memory management improvements)