Better management of env variable

This commit allows the base class (display) to be used without managing
the environment variable (profile.d script) or by providing a custom
path to where to manage the file.