Use class attributes correctly in HTML Reader instead of __init__