added photos controller and related files, index method