addded folder structure for RAMbasedFifo and template files also added function for RegbasedFIFO