Added and updated CRUD functionality to photos and tags.