how did alfred the great secure his modern reputation as a state builder?