refactor export builtin

Refactor export into env-set, env-get, and env-del