Refactored ingredient units into its own object

Refactored ingredient units into its own object and also changed amount to integer