Moving shutdown logic to Emulator.
Adding doc skeleton for CPU.