finished chapter 4

static files and templates