change default content-type to text/html
rework readme and make sure errors are available as imports
change conflicting varaible name in loop
replace legacy class name