. . . . "Prisoners, based on the nature of their crime, type of penalty, length of sentence, performance, age, gender and other characteristics, are classified into different groups and are incarcerated, managed and educated accordingly." .