Added primer for injecting resources and styles