Create an apprenticeship or training contract wherin the student (apprentice) pays the school for the training and receives no remuneration from the school, but may produce revenue for the school, while taking the class or during the apprenticeship period.
This would be very similar to the contracts used by schools teaching cosmetology or barbering.
The contract MUST meet California standards