Moved the module metadata types into their own package.