A derelict miners' institute, which has been standing near Sunderland for 100 years, is to be transformed into offices in a restoration project by Building Design Northern.