Code for the simulator architecture. Including the CUDA executer, the RPC server,