Removed the separate ModuleConstantRef since you can tell by the variable property of VariableReference. We'll also add local variables there later on.
They are now better organized and easier to extend, I hope.