Add TextSource class which gets url or plain text