The state has awarded a $5 million tax credit to help transform a historic building in Springfield.