Added resource handler for static resources.