Move SelectPhoto to ViewModel, refactor DbObject
Refactor DbObjects