Modeling teaching of digital environment, the first chapter of master teaching.