Moving to getModules to retrieve reference
Adding two methods to get const_iterators to loop over the modules