A lightweight generic cheminformatics toolkit