Theoretical Chemistry for Extended Systems