connected the module to the java code
added the url variable