implementation of the rest API to access the kegg database