init And Commit HGServer