My mission with this refactoring was to make it more readable and procedural. Not only it reduces 32 function calls, It's all in one place. All aliases in aliases.js file and all priorities in priorities.js file
1. All the functions which were responsible for creating aliases from following files(comments are file names) have been moved to src/lib/units/aliases.js
2. Ran all the functions and final result has been saved as "aliases" object in src/lib/units/aliases.js.
3. Commented out all the aliases creation functions in src/lib/units/aliases.js as we have final and known Object as a variable.
4. All the functions which were responsible for creating priorities from following files(comments are file names) have been moved to src/lib/units/priorities.js