Refactored the code for controlling the temperature of the oven. Everything should be ready for implementing a parser