added a start/stop method to the server class