Added exit command to shut down server and server console

fixes #4