adding model for photos table
added model