This paper describes a mathematical model of virtual learning environment considering both technology and users. Recognized interested users are teachers, parents and students. Interaction between interested parties in elementary and high school education process is presented by using complexity science. The idea is to model and create educational virtual environment that would attract engagement of all parties. Initial engagement would be motivated with the e-grade book. After initial involvement of seeing grades, the users would be motivated for further involvement using forums, blogs, and chats to interact with each other in one place. This would lead to creating groups of students or parents with similar problems and interests. For example, why is mathematics so hard to some students, and for other not? The created virtual environment will enable teachers to additionally inform parents of existing e-learning materials. Virtual environment is modelled as multilevel, multidimensional educational environment, considering communication of all participants, and every aspect of technology that could improve that communication.