1 write views templates
2 render function
3 write 404, 500, .... views