Historic hotel finds new life as a public library