added state machine in seneka_pnp and services