Added new way to create datasets using Instances class