new constructor for locationtrace and photo