Electronic structure and quantum conductance of molecular and nano electronics