Adding in module support

Added a case for the dir rjs option to allow for the addition of modules.