create trainee subject detail and trainee profile

This pull is about trainee subject detail and their profile, but not yet finish on subject start date and end date. Please review.
write in after_save