Define key mapping as a map.
Merge pull request #31 from codingteam/feature/key-refactor

Refactor key mapping