Add input controller class