Added FIFO template for strict type checking.
Added common makefile.
Added resource pool snippet.