Moving environment stuff to separate repo