restructured index.php, so that html can be entered more easily. added tutorial from daniel.