Electronic Structure: Basic Theory and Practical Methods