Lignin for bioenergy & biomaterials