display debug messages
added address class
correct the url in the sample code
cosmetic changes