David, Noel, Floyd and Joanne,
I thank you all for the very good and thoughtful advice.
Based on your advice I will do three things:
1. I will go through the contract with a friend who is a lawyer. She also have some experience with this industry.
2. I will politely ask the library about how they found my music (been wondering about that myself).
3. I will try to learn more about publisher/artist royalties and find out about which organisation(s) I should register with. I frankly don't know much about these things.
Happy New Year to all of you!
Will