changed Recipe to be a local variable
removed some unused imports and code
cleaning up warnings, silly code, and unused code
removed unneeded logging statements