Added remove and insert method to Repository