This is the start and stop code for the serveR