Added a missing accessor

Added a missing accessor named "environment" to Server class.