Added photo controller and model