Unsig the framework: emulator (not finished yet)