FIFO support added

Tested messaging.c (FIFO support).