refactor the trainig chapters structure