updated gitignore
moving the handling of foods in the array to the controller