Implemented an rPi logic emulator, and also most of the server-side logic required for actually sharing state across multiple clients.