started to change keymap implementation in src

Signed-off-by: Slava Zanko <slavazanko@gmail.com>