Added lib_html.php, started writing functions