Implement unloading modules and call hooks
Implement reloading modules