keyInput class added.