Stochastic Dynamics Of Complex Systems: From Glasses To Evolution