stubbed out the server
added concept of halt handler to cleanly shut down server