Changed album/photo models, started support for thumbnails