2G biorefinery