Added environment (almost finished) , adde also migration but only the structure