Added a blogpost class and fixed a litte name bug