Timer added and bug fixes

Timer class added. More to come soon. "error_page.html" was changed to
"errorpage.html".