Total rework with CoreData

New logic using Core Data (inspired by
https://github.com/vascoorey/iOS-Projects/tree/master/Photomania).
Improve image download.