adding mapping for resources such as images, css, and js files