[haiyang] add config classes