[08-07-13] gen-actions-layer, gen-state-layer added. link-state-to-actions revised.