[mod] big code improvment: remove import hook magic and dynamically build missing node class instead