Added start of datatable code. Rest coming soon pending testing.