add html head and css
clean up some debugging stuff, add url generation for s3 obj