Migrate universal variables to env_var_t structure. Encapsulate
universal variable storage into a class for better testability.