adding Salary class which contains arrays of total salary and salary remaining for all years and owners