Made `context` argument optional in Template.render
Added 404 page, removed legacy renderPage function