ACTtools - Space Environment Tools for Simulating Gamma-ray Instrument Backgrounds