Cartan Subalgebras in $C^*$-Algebras