Refactoring of datatable module

datatable is now activated with a class instead of a helper function.