Defining the app.listen method