state machines for ACAT project added. Recording and replaying trajectories for both arm and hand