I'm not sure. Aren't modules like scripts you can include into your own code and borrow variables or functions from that source?
Viewing post in Is Godot 3 engine underrated?
You can include c++ modules and use them like another class.
http://docs.godotengine.org/en/3.0/development/cpp/custom_modules_in_cpp.html