improvements to resource loader module registration

Change-Id: I5fdf4bc877289d3f7d638efc84b4969cc0d88d16