added config.loadedModules option

this would be important in a real-world application, but it doesn't actually effect the demo