save function added. which saves document with Hi-Lo generated id.
release: version 1.0