Introduction to molecular structure and thermodynamics