modify Photo and PhotoComment model.
create Photo controller base.