Keyboard implemented

Keyboard implemented - code to be improved though