Removed unnecessary const keyword
Added methods to irrcontroller class