Large scale stochastic control: Algorithms, optimality and stability