Got blog post categories working and modularized the blog writer code into blogwriter.py