Changing constructor of the Glib and adding ModuleID