add controllers to Department and Person classes