init baseUrl and RegistryUrl in the initialize method