Added add to library feature