initial code commit. note that the code has been updated to use relative paths in stead of full web paths, so that html links and images will work.