added base class for adding employee and refctor the AddSalariedEmployee to inherit this class.