fixed finding dist_dir for rendering makrdown.
tidy.
make HTTP::Request as super-class.