Add Pile base class