Move Dataset to core
Implements some writers in analytics
adapts learn to recent changes about Dataset
update caspo-learn script