a first completement

add env.h and env.cpp and a little revise to fish