Finished setting up the blogpost class