Added PhotosController.js and  made some changes to routes.js