major refactoring with separated model for things and photos

Dropbox images now have their own model class. New uploading flow where a things tId is passed to the client once it has been uploaded to the server