Bulk-assignment of resource categories and detection of category-less resources

Closes #146.