make main module optional
use ender.export to help ender.noConflict clean up after us