Added codes for the experimental design, move the logic to service classes
-not yet integrated with the trial manager

Reviewer: Tiff Go

Issue: GCP-9453