-거든요 is a verb ending that goes at the end of a sentence, and roughly means, "you see?". For example, in English: "I couldn't go to the library today. It was closed, you see?" That is certainly similar to "I couldn't go to the library because it was closed". -거든요 is used as kind of a followup explanation. 때문 is a noun, which means "reason", that can be used in a setup clause like "Because the library was closed...", in which case you add the particle 에: 때문에.... It can also be used at the end of a sentence to mean "It's because...". In that case, you use the verb 이다 with it: 때문이다. I'm not a native, so hopefully someone will give you a more complete explanation.