Code cleanup and started blog template

There is still some optimizations to look for on the home template, but
it works, so I'm starting the blog template.
started "testing" page and sidebar

and all that bloggy stuff that i don't really know how works.