Inspired by the HAMMER robot architecture for Execution and Recognition of actions, implemented for CS81 Adaptive Robotics Spring 2012.