Added support to download data entries.
Moved imports to top in data views.