Electronic Theory of Materials