Added a constructor with parameters url,savePath,tag.