add OOP version of SPH 2D CPU