Added unloading of modules on the fly