better failure handling for removeCopy
error handling improvements
rename packages and organize package.js