add doctor and photo model,configure paperclip