Essays on the School Choice, the Distribution of School Quality, and Preferences