add generic-pool module
add pool function
insert image before inert imageLib id