loading module using require method