CLN: reorganise/group variables for readability
couple of comments in issues recently about complexity of `_translate` and its readability.
small commit here to group setup variables by type and function, and add some comments.
