Theory of Simple Glasses