UI for datasets

Fixes #273 

- UI for adding and editing datasets
- Fixes to datasets API
I don't think you need the str here