Update Environment.scala

Added class comments.