Improving the Quality of Distance and Blended Learning