Extract the env resolver
Extract storing logic from the environment