Basic printing of blog posts
Minor refactoring