Clean up the code and add a message for starting to load a module