Generalization of datalists

- Moved all datalists to a generic BaseDatalist class.