separate module configuration into individual modules