SalaryCalculator - Refactoring Assignment