Pull parse_env into it's own module