set up module to install/config

Enable the module to be used as a module by configuring itself.