path cursor started and CursoState class added