Refactored DataCollection further, moved DataTable creation code to DataTableFactory.