Electronic Structure of Organic Semiconductors Polymers and small molecules