Dataset class.

Access class as array and the same time as object.