Small framework for dealing with environment settings