Added URL reading methods, instead of doing it in the __construct