General purpose Smoothed Particle Hydrodynamics framework