moving Environment class to Walker instead of in 'global'