Add error template for 404, add comments for todos.