+Add resource locator for state machine - delegate to make context on-demand
for states and actions
+Make context tests