Keyboard class init