Extracted environment initialization to a separate file