Towards an economical ionic liquid based biorefinery