WIP - Fixes #30 -> Remove hardcoded WS URLs from groovy and javascript code
Now the domain part of the URLs are in the external configuration file