Molecular Scale Engineering of Functional Conducting Polymer Thin Films