refactor load function -> load & loadModule