connecting layer model to new layer api and start feature editing inside layer