Remove an environment setting

Because I'm not want to use "ENV".
Extract a class
Add a usage as library