Added class InputProcessor