Add module config, and more methods to the Module class