Object-oriented approach development of model of distance learning