Keyboard events added. Code optimization
Release 0.0.7