use static private EnvironmentBean
Merge pull request #603 from willr3/master.TxStats

use static private EnvironmentBean