[Thousand Words] Added albums and photos handling in core data.