Added code for Keyboard and a simple example