Restructuing Prelude and IO related modules