refactor delete methods to put logic in the sitefactory