Removed unused parameter from IRToy constructor and did some code formatting