Broke up blog.php into two file and made it a class