500 page and increased effeciency

- Added 500 page
- Reduced db table lookups for json streams
added download csv option