Added require mapping.

Support mapping of the required modules