add tool controller
renamed api documentation class
move error template into resource folder
reset types check on generate
add html writer
use renamed documentation class