New class System2 to increase testability of classes that call low-level system methods