A dynamical core for solving geophysical fluid equations on the sphere with conservative finite difference methods