added klasses_posts many-to-many relationship