Development of a simulation framework for spherical proportional counters