Added initializer method
Added let for url and xml varibles