Generate module XML files

We will need to pass variable into here based on what is set in configuration