Invia SMS: Generalized functionals of Brownian motion and their applications