This allows an improved approach to load text from URL Also improved the function to check for a connection by attempting three times before giving up
use config class which reads from .env file remove obsolete functions update requirements