Implemented contacts and separated hydrogens to their own class.