remove package templates from lib
remove opts.lib in omni constructor