Move dataformat from beat.core

Ideally, we don't want this package to depend on beat.core. But it requires dataformat. One possible solution would be to move the dataformat from beat.core into this package, and to make beat.core depeonds on this package.