move env and config functions to Utility module