moved code into htdocs directory.