Stochastic Functional (Partial) Differential Equations