adds layout breaking source code similar to the blog
add shared layout support for footer / header
cleanup the source code examples