Refactor(departments_controller) - Move object generation to model