Principles of chemistry, a structural approach