fix module unloading
add log message for unloading
implement module loading/unloading in module module
incorporate cmd module into core
module/module: sort modules