Refactored system initialization to minimize code that cannot be unit tested.