Added registration of resources to component module