move photograph model to its own file for ease of merging