abstracted attr classes and added image_link and image_author to tables