Based on the RDKit molecule this class encodes and decodes the information related to the molecule using a string.