Molecular and ionic compound structure and properties