add a function to load the modules definition