clean up wrapper functions, add missing capture errors
specs for adding and removing modules from manifest