a bunch of stuff: better routing static pages, main page layout
one huge commit!!