I add some modifications and finish the documentation.