Random Measures, Theory and Applications