Refactored much of the physics system to allow physics to be specified in sc files