Topics in McKean-Vlasov equations: rank-based dynamics and Markovian projection with applications in finance and stochastic control.