Added keypad module prototype
Fixes in emacs module