* refactor: centralize environment variable key constants * refactor: update environment variable constants and usage in gateway