Added Gender input to BaseModule.py