Loads the main module.