Started work on the emulator backend. The debugger and basic emulator will wrap this library.