It is the purpose of this article to make possible the substitution of constructive labor for profitless prison confinement in order that those who are charged with or convicted of public offenses and deprived of their liberty may become better citizens because of their disciplinary experience.