Added a PileViewController baseclass and Archive search support