Rewrote backend API to use FIFO queues