update app to create the server in this file