create environment service to manage api env variables