Add function comments. Merge startServer function in mhStartServer.