Creating A Safe Environment class