Electronic Structure And Transport In Solids From First Principles