some refactoring on key event
add 'paste' event
bump to v0.1.3