added resource Photo and gemfiles