Add @jcheng5's library migration script
Some checking code to see if a dir is appropriately packified
Some more comments and refactoring