Certificate api

Adds API methods to create and update datasets, these methods will also publish the dataset if possible.
Todo:

- [ ] Write simple documentation to use the API