1.add config using xml parser
2.add gateway class