The new input handling class