Made database model with file tag relations