remove cargo box logic

these added an unnecessary level of complexity
add "preprocessing" resources and use maps/sets instead of lists