MSU hires Townsend to the football staff