A Software Framework for Easy Parallelization of PDE Solvers