add code to merge and translate sub-packages' declared licenses into
license comments
add try/catch blocks.