improve training structure, comments.
add 'action' and 'move' regexs for variable names.