Exploiting functionalities of biomass in nanocomposite development: application in dye removal and disinfection along with process intensification