add a staticpages controller
added a few tests
add more tests for the page titles
refactor pages
add back the layout