modified photos table/migration; added tags controller and model; defined relationships in models