Allow importing as a module
Standardize names in dictionary

- Lowercase
- No spaces, < and >
Created getcode(), getmodifiers() and their tests
Added map for modifier key names