Refactor StateAction
Add activiti and spring-security
add stateview