Stochastic Models in Reliability Theory