Added env.groovy and change build dependencies