Merged Keyboard input, added class to contain length and start of a key.