Making a configuration object available throughout the testbench hierarchy

environment_config   env_cfg;

You have missed semicolon at the end of above line.
-Ashith