Naming changes; separated ws parameters from resource; debug flag added; error handling correction in configurations.