Medford is preparing to begin construction of a $34 million public library that officials said will allow them to meet a longstanding need for more space and improved facilities. In October, contractors are set to begin demolishing the existing 60-year-old library to make way for the new 44,000-square-foot facility, to be built on the same High Street site.