Refactored module textfield