added hg.init module, hg.present state