putting generator in the correct module