One single datatable for all or several for each item category?

Yes, function library.