More deep refactorings

This pull request contain many static refactoring.
Only feature is HEAD request allowed in bot friendly pages (`/robots.txt`, `/sitemap.xml`).