refactored into classes, simplified creating of cluster ingredient dictionary
it mostly works
latest DB tricks