Improves command map
With push/unshift prefixes
Merge pull request #45 from kirs/command-map

Improved command map (possible breaking change, see the changelog.)