Add indexes for department_id on classes & teachers
Make the ports unique when running front-end