set up controller and database for photos