add youku support, change many variable names, add a config file