Refactor to add camera manager
change of the getUrl method