merciless refactoring
refactor nimsapiutil
finalize refactoring
refactor uri routes
refactor authorization code