Solved issue #50

Caching get_env prevents having circular imports