Design And Analysis Of Cluster Randomized Trials With Application To Hiv Prevention And Treatment