Refactor pmg-datatable + First version scheduledatatable plugin