Refine layout generation
Remove non-existing paths from layout
Add static pages controller
Add home view template