Contributions to stochastic models and their analysis - with special reference to some inventory models