Removes emulator manager and cleans emulator code