Another refactoring...
+ Imlplemented fifo for scheduler a and b.