Text this: Optimizing biomass pathways to bioenergy and biochar application in electricity generation, biodiesel production, and biohydrogen production