Added a getModule function