Section 1. Library corporations and associations which have been legally established shall continue to have all the powers and privileges and be subject to all the duties and restrictions attaching thereto.