loadModule

Parameters
  classinstance - reference to a module class instance
Purpose
  This is the function that loads the actual module classes, it is the
  one called in end of every module file.