more refactoring & detailed specs for training & user_training controllers; new vers. 4.00.329