Contains first sketch of waiting queue logic. The WaitingQueue struct will be removed...