Refactored ResourceLoader module definitions

Split up module definitions into separate files per directory.

Change-Id: Ia712356c1904056ec8835128c907f11d2fd6cbd9
Merge "Refactored ResourceLoader module definitions"