Revert "using require config for libs"

This reverts commit f10110b01e70d32c7d2190f91b1a8235198254e8.