social network configuration now a class with xml config file