Abstracted base class for datahandler