add servlet listener to load the model