Added a logger
Fixed a bug

equals in ingredient wouldn't have worked correctly