COD removal in MBBR system for a municipal wastewater pre-treatment