Creating a model object for Listener