Setting up the module and controller