#1140 Move tables.ts out of core and into datatable plugin, remove references to workspace and dependency on core plugin