create InputProcessor module to handle processing inputs