Removed classes
Refactored backend so it can be called independently of a front end
Added groping by dataset