Fixing up module.export in core/list.js
Cleaning up lib/core/* for consistency