reworked recipe system and main class file