move environments into their own file