Structure and Operation of the EGS4 Code System