Began refactoring
Some later refactorings
Make server.Shutdown public so users can pass values to it directly
Rewrite README