remove moduleinternal interface

close #241