improvements to resource loader module registration

Change-Id: I2422b2a6beac84f0ea9c7479e42bf3470775e5a0