Remode dependensy from global ENV in http class