Let $O$ be the origin of coordinates. The line $y=-\sqrt{3}(x-1)$ passes through the focus of the parabola $C: y^2=2px$ $(p>0)$ and intersects $C$ at points $M$ and $N$. Let $l$ be the directrix of $C$. Then\\
A. $p=2$\\
B. $|MN|=\frac{8}{3}$\\
C. the circle with $MN$ as diameter is tangent to $l$\\
D. $\triangle OMN$ is an isosceles triangle