He likes you a lot, but when he got in too deep with his feelings he decided to back out. It's good that you found this out now. Don't feel too offended, it's not you. I understand this hurts but it's only been a few weeks and you'll be able to heal from it.
Suggestion for the Future: keep the texting to an absolute minimum. It inhibits "real" communication.
Welcome to the board gal_blondie101,
Even though you followed his lead, he clearly had leftover baggage.
He likes you a lot, but when he got in too deep with his feelings he decided to back out. It's good that you found this out now. Don't feel too offended, it's not you. I understand this hurts but it's only been a few weeks and you'll be able to heal from it.
Suggestion for the Future: keep the texting to an absolute minimum. It inhibits "real" communication.