This is just a quick&dirty implementation. Once we know how modules are being processed/installed this needs to be revisited. refs #7163