added init feature and init module support