added correct character escaping to web service response text. code organization - moved stuff into interface and config manager.