ANALYTICALLY SOLVABLE MODELS FOR EQUILIBRIUM AND DYNAMICAL PROPERTIES OF GLASSY SYSTEMS