refactor(server): start the server not within the app module but provide a start function to start it instead