adding, doctype, html head and body, fixing problems with singleton