-Created BlogPost class.