Changed the init() method to work with Main.java

Changed how the parameters worked in init() and recipes()