Always end database transaction
Fetch 100 photos per request
Fix photo query to correctly query categories
Update README.md and add LICENSE