DEV: removed xr_data class from core.py