Empirical Bayes Methods With Applications