add validation of lipid classes
unify config of endpoints