Added favicon support by improving resource routing