creates a server which can listen on port 3000