Add fancybox and favicon.ico and refactoring