added statemachine project