Refactoring REST calls for datasets
Adding comments to new classes