add class a/b/p environment configs