Frye resigns, expected to be St. Marys new coach