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.
should use a method instead of scope