implemented get_envs.
added main.
removed go code.
updated travis.yml.