Add basic database class for BlogPost.