Added URL list and rootURL to constructor