start to decompose Keyboard.py