Added environment (class Target), still working on it