added tables tab and implemented datatables