added buffer management module from sw_etap