add rake task and model changes for purging feeds