Fixed struct vs. class bug and removed unnecessary code in input management