A dedicated class, model if you like, to configure the excelent Chumper/Datatable package to keep your controllers as clean as possible.