modified to retrieve the URL from the properties file. #16

Please review #16, and merge to 1.0.x branch.