Added message fifo queue structures and functions