Fix dependencies in package file, renamed utility to xmod. Refactor functional to use new xmod helper module, and new exportModule function.